projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50f58d
)
(reg-generic-mode): Quote "]"s in regexps when they have no special meaning.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 3 Mar 2006 12:18:47 +0000
(12:18 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 3 Mar 2006 12:18:47 +0000
(12:18 +0000)
lisp/generic-x.el
patch
|
blob
|
history
diff --git
a/lisp/generic-x.el
b/lisp/generic-x.el
index 5b1d0bfb93daa3b9be53d2980216106399421fe5..55c4e4828037a08e3dea3cc2cd39bf051d499c03 100644
(file)
--- a/
lisp/generic-x.el
+++ b/
lisp/generic-x.el
@@
-433,7
+433,7
@@
like an INI file. You can add this hook to `find-file-hook'."
(define-generic-mode reg-generic-mode
'(?\;)
'("key" "classes_root" "REGEDIT" "REGEDIT4")
- '(("\\(\\[.*
]\\)"
1 font-lock-constant-face)
+ '(("\\(\\[.*
\\]\\)"
1 font-lock-constant-face)
("^\\([^\n\r]*\\)\\s-*=" 1 font-lock-variable-name-face))
'("\\.[rR][eE][gG]\\'")
(list